2.1.2. Querry string parametrs
Parametrs
Parameter | Description | Mandatory | Type | Notes |
---|---|---|---|---|
start_date | start date | mandatory | string | string in format YYYY-MM-DD |
end_date | end date | mandatory | string | string in format YYYY-MM-DD |
page | page number for pagination | optional | integer | default: 1 |
per_page | number of records per page | optional | integer | default: 50 |
merchant_id | merchant IDs (for filtering) | optional | string | comma-separated list of IDs |
terminal_id | terminal IDs (for filtering) | optional | string | comma-separated list of IDs |
Code structure
{
"start_date": "string, start date in format YYYY-MM-DD (mandatory)",
"end_date": "string, end date in format YYYY-MM-DD (mandatory)",
"page": "integer, page number for pagination (optional, default: 1)",
"per_page": "integer, number of records per page (optional, default: 50)",
"merchant_id": "string, comma-separated list of merchant IDs for filtering (optional)",
"terminal_id": "string, comma-separated list of terminal IDs for filtering (optional)"
}